package test;

import java.math.BigDecimal;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.Date;

/**
 * @auther 徐富林
 * @Date 2022/5/10
 */
public class Dome {

    public static void main(String[] args) throws ParseException {
//        LocalDateTime now = LocalDateTime.now();
//        String date = now.format(DateTimeFormatter.ofPattern("yyyy-MM-dd"));
//        String time = now.format(DateTimeFormatter.ofPattern("hh:mm:ss"));
//        System.out.println(now);
//        System.out.println(date);
//        System.out.println(time);
//        SimpleDateFormat formatter = new SimpleDateFormat("yyyy/MM/dd");
//        Date parse = formatter.parse("2023/04/02");
//        System.out.println(parse);
        BigDecimal subtract = new BigDecimal(2);
        if (subtract.compareTo(new BigDecimal(0)) >= 0) {
            System.out.println("yes");
        }
    }
}
